<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="mod my-tool-tab-nav">
	<div class="hd">
		<h2 class="mod-title">抢吧</h2>
		<ul class="my-tool-tab">
			<c:if test="${param.drawFlag == false && param.activityFlag == true}">
				<li>
					<a href="${postUrlPrefix }activity/index.do?pageOrder=pageActive" class="hover" hidefocus="true">活动列表</a>
				</li>
				<c:if test="${loginFlag }">
					<li>
						<a href="javascript:gotoMyQiangba();" hidefocus="true" >我的抢吧</a>
					</li>
				</c:if>
				<c:if test="${!loginFlag }">
					<li>
						<a href="javascript:gotoMyQiangba();" hidefocus="true" >我的抢吧</a>
					</li>
				</c:if>
			</c:if>
			<c:if test="${param.drawFlag == false && param.activityFlag == false}">
				<li>
					<a href="${postUrlPrefix }activity/index.do?pageOrder=pageActive" hidefocus="true">活动列表</a>
				</li>
				<c:if test="${loginFlag }">
					<li>
						<a href="javascript:gotoMyQiangba();" class="hover" hidefocus="true">我的抢吧</a>
					</li>
				</c:if>
				<c:if test="${!loginFlag }">
					<li>
						<a href="javascript:gotoMyQiangba();" hidefocus="true">我的抢吧</a>
					</li>
				</c:if>
			</c:if>
			<c:if test="${param.drawFlag == true && param.activityFlag == true}">
				<li>
					<a href="${postUrlPrefix }activity/index.do?pageOrder=pageActive" hidefocus="true">活动列表</a>
				</li>
				<c:if test="${loginFlag }">
					<li>
						<a href="javascript:gotoMyQiangba();" hidefocus="true">我的抢吧</a>
					</li>
				</c:if>
				<c:if test="${!loginFlag }">
					<li>
						<a href="javascript:gotoMyQiangba();" hidefocus="true">我的抢吧</a>
					</li>
				</c:if>
			</c:if>
			
		</ul>
	</div>
	
</div>

<script type="text/javascript">
	
	function gotoMyQiangba(){
		
		var doMyQiangba = function () {
			window.location.href = postUrlPrefix + 'myqiangba/index.do';
		}
		
		qbCheckLogin(doMyQiangba);
		    
	}

</script>